﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JinfuyuanProject.Entity;

namespace JinfuyuanProject.Repository
{
    public interface IContractRepository
    {
        IQueryable<Contract> GetList();

        Contract GetModel(int Id);

        bool Delete(Contract student);

        int Insert(Contract student);

        bool Update(Contract student);
        Task<List<Contract>> GetContractByEmployeeIdAsync(int employeeId, DateTime startDate, DateTime endDate);
    }
}
